<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
	<input type="button" value="返回上一级" onclick="location.href= '{%url 'luck:list' %}'">

    <h1>你指定的类别是:{{ option.category_name }}</h1>
	<ul>
		{% for i in all %}
		<li>
			商品编号：{{ i.commodity_no}}
			商品类别：{{ i.stock}}
			商品名称：{{ i.commodity_name}}
			商品封面：{{ i.cover}}
			商品价格：{{ i.price}}
			
		</li>
		{% endfor%}
	</ul>
</body>
</html>